<div class="container">
	<div class="navbar-header">
		<button type="button" class="navbar-toggle" data-toggle="collapse"
			data-target=".navbar-collapse">
			<span class="icon-bar"></span> <span class="icon-bar"></span> <span
				class="icon-bar"></span>
		</button>
	</div>

	<div class="collapse navbar-collapse">

		<div class="inner-search">

			<div class="row">
				<?= $this->commoncall->loc;?>
				<div class="col-lg-2">
					<a href="<?=base_url();?>"><img
						src="<?=base_url();?>assets/images/yp-logo.png"
						class="img-responsive" alt="Open Business Directory" /> </a>
				</div>

				<div class="col-lg-6">
					<div class="input-group">
						<span class="input-group-btn">
							<button class="btn btn-default" type="button" data-toggle="modal"
								href="#myModal" style="border-right: none">
								<?php 
								if($this->input->cookie('cook_location')){
									echo $this->location_model->get_city_data($this->input->cookie('cook_location'))->cityname;
								}else{
									echo "Select Location";
								}
								?>

								&nbsp;<b class="caret"></b>
							</button>
						</span>
						<?php if(isset($catName)){?>
						<input type="text" class="form-control" value="<?= $catName; ?>">
						<?php }else{?>
						<input type="text" class="form-control" value="">
						<?php }?>
					</div>
					<!-- /input-group -->
				</div>
				<!-- /.col-lg-6 -->
				<div class="col-lg-2">
					<div class="input-group">

						<span class="input-group-btn">
							<button class="btn btn-default btn-danger" type="button">
								<span class="glyphicon glyphicon-search"></span> Search!
							</button>
						</span>
					</div>
					<!-- /input-group -->
				</div>
				<!-- /.col-lg-2 -->

				<div class="col-lg-2">
					<div class="pull-right">
						<a href="#">Subha Sundar Das</a> &nbsp;
						<div class="btn-group">

							<button type="button" class="btn btn-info dropdown-toggle"
								data-toggle="dropdown">
								<span class="glyphicon glyphicon-cog"></span>
							</button>
							<ul class="dropdown-menu">
								<li><a href="#"><span class="glyphicon glyphicon-briefcase"></span>
										Add Business</a></li>
								<li><a href="#"><span class="glyphicon glyphicon-log-out"></span>
										Edit Profile</a></li>

							</ul>
						</div>
					</div>
				</div>
				<!-- /.col-lg-4 -->

			</div>
			<!-- /.row -->


		</div>
	</div>
	<!--/.nav-collapse -->

</div>
